package com.quyou.funtour.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.quyou.funtour.enummmeration.RegionStatus;
import com.quyou.funtour.vo.ActivityVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("quyou_region")
public class RegionPo implements Serializable {
    @TableId
    private String id;//专区id
    private String name;//专区名称
    @TableField("propaganda_pic")
    private String propagandaPic;//专区宣传图片
    @TableField("head_pic")
    private String headPic;//专区头像
    private String introduce;//专区介绍
    @TableField("brief_introduction")
    private String briefIntroduction;//专区简介
    private RegionStatus status;//专区状态
    private String contacts;//专区联系人
    private String phones;//专区联系方式
    @TableField(exist = false)
    private List<ActivityVo> handActivity;//专区正在举办的活动
    @TableField(exist = false)
    private List<ActivityVo> beforeActivity;//该专区以前举办的活动

}
